Class NFExporterManagerImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.NFExporterManagerImpl
All Implemented Interfaces:
IPCObject, NFExporterManager

public class NFExporterManagerImpl extends IPCObjectImpl implements NFExporterManager
Information provided by the PKI file:

    \class NFExporterManager
    
    \brief NFExporterManager manages different NetFlow exporters configured on routers.
    
    \example network().getDevice("Router0").getNetflowExporterManager()
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • createNFExporter

      public NFExporter createNFExporter(String exporterName)
      Information provided by the PKI file:
      
          \brief Creates a NetFlow exporter with the specified name.
          
          \param exporterName, the name for the NetFlow exporter.
          
          \return NFExporter, the NFExporter object of the created NetFlow exporter.
          
              
      Specified by:
      createNFExporter in interface NFExporterManager
      Parameters:
      exporterName - Takes in a parameter of exporterName
      Returns:
      NFExporter Returns a NFExporter
    • removeNFExporter

      public void removeNFExporter(String exporterName)
      Information provided by the PKI file:
      
          \brief Removes the NetFlow exporter with the specified name.
          
          \param exporterName, the name of the NetFlow exporter of interest.
          
              
      Specified by:
      removeNFExporter in interface NFExporterManager
      Parameters:
      exporterName - Takes in a parameter of exporterName
    • getNFExporterAt

      public NFExporter getNFExporterAt(int index)
      Information provided by the PKI file:
      
          \brief Returns the NetFlow exporter at the specified index.
          
          \param index, the index of the NetFlow exporter of interest.
          
          \return NFExporter, the NFExporter object at the specified index.
          
              
      Specified by:
      getNFExporterAt in interface NFExporterManager
      Parameters:
      index - Takes in a parameter of index
      Returns:
      NFExporter Returns a NFExporter
    • getNFExporterByName

      public NFExporter getNFExporterByName(String name)
      Information provided by the PKI file:
      
          \brief Returns the NetFlow exporter with the specified name.
          
          \param name, the name of the NetFlow exporter of interest.
          
          \return NFExporter, the NFExporter object with the specified name.
          
              
      Specified by:
      getNFExporterByName in interface NFExporterManager
      Parameters:
      name - Takes in a parameter of name
      Returns:
      NFExporter Returns a NFExporter
    • getNFExporterByIpAndPort

      public NFExporter getNFExporterByIpAndPort(IPAddress ipAddr, int udpPort)
      Information provided by the PKI file:
      
          \brief Returns the NetFlow exporter with the specified IP address and UDP port number.
          
          \param ipAddr, the IP address of the NetFlow exporter of interest.
          \param udpPort, the UDP port number of the NetFlow exporter of interest.
          
          \return NFExporter, the NFExporter object with the specified name.
          
              
      Specified by:
      getNFExporterByIpAndPort in interface NFExporterManager
      Parameters:
      ipAddr - Takes in a parameter of ipAddr
      udpPort - Takes in a parameter of udpPort
      Returns:
      NFExporter Returns a NFExporter
    • removeNFExporterAt

      public void removeNFExporterAt(int index)
      Information provided by the PKI file:
      
          \brief Removes the NetFlow exporter at the specified index.
          
          \param index, the index of the NetFlow exporter of interest.
          
              
      Specified by:
      removeNFExporterAt in interface NFExporterManager
      Parameters:
      index - Takes in a parameter of index
    • getNFExporterCount

      public int getNFExporterCount()
      Information provided by the PKI file:
      
          \brief Returns the number of NetFlow exporters.
          
          \return int, the number of NetFlow exporters.
          
              
      Specified by:
      getNFExporterCount in interface NFExporterManager
      Returns:
      int Returns a int